import 'package:f200/common/index.dart';
import 'package:flutter/material.dart';

class AppTitleBar extends StatelessWidget {
  final String title;
  const AppTitleBar({super.key, required this.title});

  @override
  Widget build(BuildContext context) {
    return Container(
      child: Row(
        children: [
          Text('${title}'),
        ],
      ),
      padding: EdgeInsets.all(8),
      decoration: BoxDecoration(
        color: AppColors.secondaryElement,
      ),
      height: 40,
      width: double.infinity,
    );
  }
}
